package com.rising.spring.chain;

public abstract class ChainHanlder {
    public void execute(Chain chain) {
        System.out.println(this);
        hanlderProcess();
        chain.proceed();
    }

    protected abstract void hanlderProcess();
}
